import request2 from '@/utils/request2'
import request from '@/utils/request'
import { projectApiUrl, unionApiUrl } from '@/api/config'
const api = unionApiUrl + '/designDeepenResults'

/**
 *深化设计成果管理列表
 */
export function getList(params, data) {
  return request2({
    url: `${api}/getPageDesignDeepenResults`,
    method: 'post', params, data
  })
}
/**
 *深化设计成果管理数量总结
 */
export function findListCount(params, data) {
  return request2({
    url: `${api}/getDesignDeepenResultsTotal`,
    method: 'post', params, data
  })
}
/**
 *深化设计成果管理详情
 */
export function detail(params, data) {
  return request2({
    url: `${api}/getDesignDeepenResultsById`,
    method: 'get', params, data
  })
}
/**
 *深化设计成果管理编辑
 */
export function update(params, data) {
  return request2({
    url: `${api}/updateByPrimaryKeySelective`,
    method: 'post', params, data
  })
}
/**
 *深化设计成果管理新增
 */
export function add(params, data) {
  return request2({
    url: `${api}/insertSelective`,
    method: 'post', params, data
  })
}
/**
 *深化设计成果管理删除
 */
export function getDelete(params, data) {
  return request2({
    url: `${api}/deleteByPrimaryKey`,
    method: 'post', params, data
  })
}
